package com.example.hms.servicelmpl;

import com.example.hms.entity.User;
import com.example.hms.util.Result;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpServletRequest;

public interface UserService {
    Result login(String userId, String password, HttpServletRequest request);

    Result info(HttpServletRequest request);


    Result selectAllUser(String userId, String userName, String roleName);

    Result insert(User user);

    Result update(User user);

    Result delete(String userId);

}
